
/****** Object:  Table [dbo].[Liiklus_Log]    Script Date: 10/09/2012 10:15:27 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING OFF
GO

CREATE TABLE [dbo].[Liiklus_Log](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Date] [datetime] NULL,
	[RequestId] [uniqueidentifier] NULL,
	[Message] [nvarchar](max) NULL,
	[RequestNr] [varchar](50) NULL,
	[Client] [varchar](255) NULL,
	[Actor] [varchar](255) NULL,
	[Level] [varchar](50) NULL,
	[Logger] [varchar](255) NULL,
	[Exception] [nvarchar](max) NULL,
 CONSTRAINT [PK_Liiklus_Log] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
/****** Object:  Index [IX_Liiklus_Log]    Script Date: 10/09/2012 10:15:39 ******/
CREATE NONCLUSTERED INDEX [IX_Liiklus_Log] ON [dbo].[Liiklus_Log] 
(
	[RequestId] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
GO



SET ANSI_PADDING OFF
GO
 

/****** Object:  Table [dbo].[Paring]    Script Date: 10/09/2012 10:15:56 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[Paring](
	[Id] [uniqueidentifier] NOT NULL,
	[StartTime] [datetime2](7) NULL,
	[Duration] [time](7) NULL,
	[Operation] [nvarchar](50) NULL,
	[Destination] [varchar](255) NULL,
	[Client] [varchar](50) NULL,
	[Request] [varchar](500) NULL,
	[Response] [varchar](500) NULL,
	[Successful] [bit] NULL,
	[Actor] [varchar](500) NULL,
 CONSTRAINT [PK_Paring] PRIMARY KEY NONCLUSTERED 
(
	[Id] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY],
 CONSTRAINT [IX_Paring] UNIQUE CLUSTERED 
(
	[Id] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
 

/****** Object:  Index [IX_Paring]    Script Date: 10/09/2012 10:16:24 ******/
ALTER TABLE [dbo].[Paring] ADD  CONSTRAINT [IX_Paring] UNIQUE CLUSTERED 
(
	[Id] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
GO



SET ANSI_PADDING OFF
GO

